//覆盖一些element-ui样式

.el-button--primary {
  background-color: #5062fe;
  border-color: #5062fe;
  color: #fefefe;
}

.el-radio__input.is-checked + .el-radio__label {
  color: #606266;
}

.el-radio__input.is-checked .el-radio__inner {
  background-color: #5062fe;
  color: #5062fe;
}

.el-button--primary:hover,
.el-button--primary:active,
.el-button--primary:visited,
.el-button--primary:focus {
  background-color: #3345e2;
  border-color: #5062fe;
  color: #fefefe;
}

.el-button--default {
  background-color: #fefefe;
  border-color: #5062fe;
  color: #5062fe;
}
.el-button--default:hover,
.el-button--default:active,
.el-button--default:visited,
.el-button--default:focus {
  background-color: #eaecf9;
  border-color: #5062fe;
  color: #5062fe;
}

.el-switch.is-checked .el-switch__core {
  border-color: #5062fe;
  background-color: #5062fe;
}

.el-checkbox__input.is-checked .el-checkbox__inner,
.el-checkbox__input.is-indeterminate .el-checkbox__inner {
  border-color: #5062fe;
  background-color: #5062fe;
}
.el-checkbox__input.is-checked + .el-checkbox__label {
  color: #5062fe;
}

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type='file'] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

.cell {
  .el-tag {
    margin-right: 0px;
  }
}

.small-padding {
  .cell {
    padding-left: 5px;
    padding-right: 5px;
  }
}

.fixed-width {
  .el-button--mini {
    padding: 7px 10px;
    width: 60px;
  }
}

.status-col {
  .cell {
    padding: 0 10px;
    text-align: center;
    .el-tag {
      margin-right: 0px;
    }
  }
}

//暂时性解决dialog 问题 https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

//文章页textarea修改样式
.article-textarea {
  textarea {
    padding-right: 40px;
    resize: none;
    border: none;
    border-radius: 0px;
    border-bottom: 1px solid #bfcbd9;
  }
}

//element ui upload
.upload-container {
  .el-upload {
    width: 100%;
    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

//dropdown
.el-dropdown-menu {
  a {
    display: block;
  }
}
